package com.sunwayworld.basemodule.business.folder.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.folder.bean.LimsFolderBean;
import com.sunwayworld.basemodule.business.folder.dao.LimsFolderDao;
import com.sunwayworld.basemodule.business.folder.mapper.LimsFolderMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsFolderDaoImpl extends MybatisDaoSupport<LimsFolderBean, Long> implements LimsFolderDao {

    @Autowired
    private LimsFolderMapper limsFolderMapper;

    @Override
    public LimsFolderMapper getMapper() {
        return limsFolderMapper;
    }

    @Override
    public List<Map<String, Object>> selectForReport(MapperParameter parameter) {
        return getMapper().selectForReport(parameter);
    }
}
